package com.example.wangbo.startproject_310wxy.serive;



import com.example.wangbo.startproject_310wxy.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by BOT-CC on 2017/3/16.
 */
//Retrofit网络访问——2定义接口
public interface Weather51Service {
    @GET("GetMoreWeather")
    Call<WeatherResult> getResult(@Query("cityCode") String cityNumber, @Query("weatherType") int weatherType);
}
